package com.lcq.gulimall.product.feign;

import com.lcq.common.to.SkuCouponTo;
import com.lcq.common.to.SpuBoundsTo;
import com.lcq.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("gulimall-coupon")
public interface CouponFeignService {
    @RequestMapping("/coupon/spubounds/save")
    R saveSpuBounds(@RequestBody SpuBoundsTo spuBounds);

    @RequestMapping("/coupon/skufullreduction/saveSkuCoupon")
    R saveSkuCoupon(@RequestBody SkuCouponTo skuCouponTo);
}
